//
//  HeroShuJuTableViewCell.m
//  Hero
//
//  Created by lanou3g on 16/5/7.
//  Copyright © 2016年 刘永庆. All rights reserved.
//

#import "HeroShuJuTableViewCell.h"

@interface HeroShuJuTableViewCell ()
@property (weak, nonatomic) IBOutlet UIImageView *icon;
@property (weak, nonatomic) IBOutlet UILabel *name;
@property (weak, nonatomic) IBOutlet UILabel *mvp;
@property (weak, nonatomic) IBOutlet UILabel *match;
@property (weak, nonatomic) IBOutlet UILabel *tate;

@end
@implementation HeroShuJuTableViewCell

- (void)awakeFromNib {
    // Initialization code
}
- (void)layoutSubviews
{
    self.icon.image = [UIImage imageNamed:self.model.championName];
    self.name.text = self.model.championNameCN;
    self.mvp.text = [NSString stringWithFormat:@"MVP:%ld",self.model.totalMVP];
    self.match.text = [NSString stringWithFormat:@"赛场:%@",self.model.matchStat];
    self.tate.text = [NSString stringWithFormat:@"胜率:%ld%%",self.model.winRate];
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
